/*
 * Copyright © 2017-2018 Cask Data, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
*/

@import '~styles/variables.scss';

$asterisk-color: $red-02;
$success-color: $green-02;

.kafka-connection-modal.modal-dialog {
  .modal-body {
    max-height: 50vh;
    overflow-y: auto;
  }

  .kafka-detail {
    overflow-x: hidden;
    .col-form-label {
      font-weight: 500;
      font-size: 14px;
      padding-top: 4px;

      .asterisk {
        position: relative;
        top: -3px;
        left: 2px;
      }
    }

    .input-name {
      width: calc(100% - 100px - 50px - 80px);
    }

    .connection-check { margin-left: 5px; }

    .asterisk {
      color: $asterisk-color;
    }

    .action-buttons-container {
      .btn.btn-link {
        padding: 7px 5px;
      }

      .add-row-btn i { vertical-align: middle; }
    }
  }

  .test-connection-button {
    margin-left: 5px;
  }

  .loading-indicator {
    vertical-align: middle;
    margin-left: 5px;
  }
}
